<%@page import="tx.bj12320.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

<rapid:override name="head">
	<title><%=SmsInfo.TABLE_ALIAS%>新增</title>
	<link rel="stylesheet" type="text/css" href="<c:url value="/widgets/jquery-easyui/themes/default/easyui.css"/>">
	<link rel="stylesheet" type="text/css" href="<c:url value="/widgets/jquery-easyui/themes/icon.css"/>">
	<script type="text/javascript" src="<c:url value="/widgets/jquery-easyui/jquery.easyui.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/widgets/jquery-easyui/locale/easyui-lang-zh_CN.js"/>"></script>
		<script type="text/javascript" src="<c:url value="/widgets/jquery-easyui/easyloader.js"/>"></script>
	<link rel="stylesheet" href="${ctx }/scripts/jquery-ui/themes/base/jquery.ui.all.css">
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.core.js"></script>
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.widget.js"></script>
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.position.js"></script>
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.autocomplete.js"></script>
		<style>
	.ui-autocomplete-loading { background: white url('${ctx }/images/ui-anim_basic_16x16.gif') right center no-repeat; }
	</style>
</rapid:override>

<rapid:override name="content">

<div id="tabs" style="width:800px;height:360px;" class="easyui-tabs">
<div title="特别提醒" style="padding:20px;" icon="icon-save">
	<s:form action="/pages/SmsInfo/tbtxSms.do" method="post">
		<table class="formTable">
<s:textfield label="手机号" key="sellPhone" value="%{model.sellPhone}" cssClass="required validate-mobile-phone" required="false" />
	<tr>
		<td class="tdLabel">
			短信内容:
		</td>
		<td>
	<s:textarea rows="4" cols="80" name="infoContent" id="infoContent" value="请关注    投诉事项。联系电话：64468526。" theme="simple">
	</s:textarea>
		</td>
	</tr>
		</table>
		<input id="tbtx_submitButton" name="tbtx_submitButton" type="submit" value="发送特别提醒短信" />
	</s:form>
		<script>
		new Validation(document.forms[0],{onSubmit:true,onFormValidate : function(result,form) {
			var finalResult = result;
			//在这里添加自定义验证
			return disableSubmit(finalResult,'tbtx_submitButton');
		}});
	</script>
</div>


<div title="发会议通知" style="padding:0px;" icon="icon-save">
<s:form action="/pages/SmsInfo/fhytzSms.do" method="post">
		<table class="formTable">
	<tr>
		<td class="tdLabel">
			短信内容:
		</td>
		<td>
	<s:textarea rows="4" cols="80" name="infoContent" id="infoContent" value="12320会议通知，请登录12320投诉转办办公自动化系统进行查收。" theme="simple">
	</s:textarea>
		</td>
	</tr>
		</table>
		<input id="fhytz_submitButton" name="fhytz_submitButton" type="submit" value="发会议通知短信" />
	</s:form>

</div>
</div>
</rapid:override>

<%-- jsp模板继承,具体使用请查看: http://code.google.com/p/rapid-framework/wiki/rapid_jsp_extends --%>
<%@ include file="base.jsp" %>